<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('统计日期')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-stat_date" class="form-control datetimepicker" data-date-format="yyyy-mm-dd" name="row[stat_date]" type="text" value="{$row.stat_date|default=''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('员工')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <select id="c-employee_id" class="form-control selectpicker" name="row[employee_id]" data-live-search="true">
                                    <option value="">请选择员工</option>
                                    {foreach $employeeList as $k=>$v}
                                    <option value="{$k}" {if $row.employee_id == $k}selected{/if}>{$v}</option>
                                    {/foreach}
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('工作时长')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-working_hours" class="form-control" name="row[working_hours]" type="number" step="0.1" value="{$row.working_hours|default='0'}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('完成任务数')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-completed_tasks" class="form-control" name="row[completed_tasks]" type="number" value="{$row.completed_tasks|default='0'}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('质量评分')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-quality_rate" class="form-control" name="row[quality_rate]" type="number" step="0.01" value="{$row.quality_rate|default='0'}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('效率评分')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-efficiency_rate" class="form-control" name="row[efficiency_rate]" type="number" step="0.01" value="{$row.efficiency_rate|default='0'}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('绩效总分')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-performance_score" class="form-control" name="row[performance_score]" type="number" step="0.01" value="{$row.performance_score|default='0'}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('总工资')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-total_wage" class="form-control" name="row[total_wage]" type="number" step="0.01" value="{$row.total_wage|default='0'}">
                            </div>
                        </div>
                        <div class="form-group layer-footer">
                            <label class="control-label col-xs-12 col-sm-2"></label>
                            <div class="col-xs-12 col-sm-8">
                                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
